package com.ecspace.knowledgegraphapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecspace.knowledgegraphapi.domain.dto.NodeDTO;
import com.ecspace.knowledgegraphapi.domain.entity.Node;

import java.util.List;


public interface INodeService extends IService<Node> {


    String saveOneNode(NodeDTO node);

    /**
     *
      * @param fromNodeId
     * @return
     */
    List<NodeDTO> findNodesByFromNodeId(String fromNodeId);


}
